﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CarBooker.Repository
{
    public interface IGenericRepository<T> where T:class
    {
        //IQueryable<T> List { get;  }
        List<T> List { get; }
        T Get(int id) ;
        void Create(T entityToCreate) ;
        void Edit(T entityToEdit) ;
        void Delete(T entityToDelete) ;

    }
}
